package com.chang.bootplus.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.chang.bootplus.base.database.EntityBase;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author chang
 * @since 2022-01-25
 */
@Data
@Accessors(chain = true)
@TableName("user_location")
@ApiModel(value = "UserLocation对象", description = "")
public class UserLocation extends EntityBase {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "设置人id")
    private Long userId;

    @ApiModelProperty(value = "省")
    private String province;

    @ApiModelProperty(value = "市")
    private String city;

    @ApiModelProperty(value = "区")
    private String area;

    @ApiModelProperty(value = "收货详细信息")
    private String message;

    @ApiModelProperty("收货人名")
    private String locationName;

    @ApiModelProperty("收货电话")
    private String locationPhone;

    @ApiModelProperty("是否设置为默认地址：0为不设置 / 1为设置")
    private Integer locationStatus;


}
